package com.jic.manager.mapper;

import com.jic.manager.entity.SysProvinceCity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 省份城市表
 * @author : 
 * @email : 
 * @since : 2020-02-04 03:49:19
 * @version : v1.0.0
 */
@Mapper
public interface SysProvinceCityMapper {

    long insert(SysProvinceCity sysProvinceCity);

    long delete(Long id);

    long update(SysProvinceCity sysProvinceCity);

    SysProvinceCity queryByPrimaryKey(Long id);

    List<SysProvinceCity> queryByLevel(@Param("level") Long level);

    List<SysProvinceCity> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("sysProvinceCity") SysProvinceCity sysProvinceCity);

    long queryPageCount(@Param("sysProvinceCity") SysProvinceCity sysProvinceCity);

    List<SysProvinceCity> queryAll(SysProvinceCity sysProvinceCity);

}